package com.shangxian.giveithome.mapper;

import com.shangxian.giveithome.entity.community.Carousel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface CarouselMapper {

    Long save (Carousel carousel);

    Long findMaxLevel();

    List<Carousel> findAllCarousel();

    List<Carousel> selectEndCarousel();
}
